package com.haixee.parkdemo.custom.dao;

import com.haixee.parkdemo.custom.model.UserScope;

import java.util.Collection;
import java.util.List;
import java.util.Set;

public interface UserScopeCustomMapper {

    Set<Integer> selectOptDeptByUidAndUidVer(Integer uid, Integer uidVer);

    Integer selectMaxUserVer(Integer uid);

    void insertMany(Collection<UserScope> list);

    List<Integer> selectScope(Integer uid, List<Integer> underDeptList);
}